using System.ComponentModel;

namespace SumerCoreDevOps.Shared.Enums;

/// <summary>
/// 任务状态枚举
/// </summary>
public enum TaskStatus
{
    [Description("等待中")]
    Pending = 0,

    [Description("运行中")]
    Running = 1,

    [Description("成功")]
    Success = 2,

    [Description("失败")]
    Failed = 3,

    [Description("已取消")]
    Cancelled = 4
}
